package com.ruoyi.system.https.vo;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

@Data
@JacksonXmlRootElement(localName = "soapenv:Envelope")
public class ZWS_PP_GET_PWOI_REQUEST {
    // 根元素类
    @JacksonXmlProperty(isAttribute = true,localName = "xmlns:soapenv")
    private  String soapenv="http://schemas.xmlsoap.org/soap/envelope/";
    @JacksonXmlProperty(isAttribute = true,localName = "xmlns:urn")
    private  String urn="urn:sap-com:document:sap:soap:functions:mc-style";
    @JacksonXmlProperty(localName = "soapenv:Header")
    private String header;
    @JacksonXmlProperty(localName = "soapenv:Body")
    private SoapBody body;




    // Body 元素类
    @Data
    public static class SoapBody {
        @JacksonXmlProperty(localName = "urn:ZmesGetPwoi")
        private ZmesGetPwoi zmesGetPwoi;

        public void setZmesGetPwoi(ZmesGetPwoi zmesGetPwoi) {
            this.zmesGetPwoi = zmesGetPwoi;
        }
        public ZmesGetPwoi getZmesGetPwoi() {
            return zmesGetPwoi;
        }
    }

    // ZmesGetPwoi 元素类

    public static class ZmesGetPwoi {
        @JacksonXmlProperty(localName = "Orderno")
        private String orderNo;
        @JacksonXmlProperty(localName = "Pwoi")
        private Pwoi pwoi;

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }
        public String getOrderNo() {
            return orderNo;
        }
        public void setPwoi(Pwoi pwoi) {
            this.pwoi = pwoi;
        }
        public Pwoi getPwoi() {
            return pwoi;
        }
    }
    public static class Pwoi{
        @JacksonXmlProperty(localName = "item")
        private Item item;
        public void setItem(Item item) {
            this.item = item;
        }
        public Item getItem() {
            return item;
        }
    }
    @Data
    public static class Item{
        @JacksonXmlProperty(localName = "Aufnr")
        private String Aufnr;
        @JacksonXmlProperty(localName = "Posnr")
        private String Posnr;
        @JacksonXmlProperty(localName = "Baugr")
        private String Baugr;
        @JacksonXmlProperty(localName = "Maktx2")
        private String Maktx2;
        @JacksonXmlProperty(localName = "Matnr")
        private String Matnr;
        @JacksonXmlProperty(localName = "Maktx")
        private String Maktx;
        @JacksonXmlProperty(localName = "Werks")
        private String Werks;
        @JacksonXmlProperty(localName = "Arbpl")
        private String Arbpl;
        @JacksonXmlProperty(localName = "Lgort")
        private String Lgort;
        @JacksonXmlProperty(localName = "Prvbe")
        private String Prvbe;
        @JacksonXmlProperty(localName = "Charg")
        private String Charg;
        @JacksonXmlProperty(localName = "Bdmng")
        private String Bdmng;
        @JacksonXmlProperty(localName = "Meins")
        private String Meins;
        @JacksonXmlProperty(localName = "Potx1")
        private String Potx1;
        @JacksonXmlProperty(localName = "Vornr")
        private String Vornr;
        @JacksonXmlProperty(localName = "Ltxa1")
        private String Ltxa1;
        @JacksonXmlProperty(localName = "Rsnum")
        private String Rsnum;
        @JacksonXmlProperty(localName = "Rspos")
        private String Rspos;
        @JacksonXmlProperty(localName = "Plnnr")
        private String Plnnr;
        public Item() {
            this.Aufnr = "";
            this.Posnr = "";
            this.Baugr = "";
            this.Maktx2 = "";
            this.Matnr = "";
            this.Maktx = "";
            this.Werks = "";
            this.Arbpl = "";
            this.Lgort = "";
            this.Prvbe = "";
            this.Charg = "";
            this.Bdmng = "";
            this.Meins = "";
            this.Potx1 = "";
            this.Vornr = "";
            this.Ltxa1 = "";
            this.Rsnum = "";
            this.Rspos = "";
            this.Plnnr = "";
        }
    }

    public String getSoapenv() {
        return soapenv;
    }

    public void setSoapenv(String soapenv) {
        this.soapenv = soapenv;
    }

    public String getUrn() {
        return urn;
    }

    public void setUrn(String urn) {
        this.urn = urn;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public SoapBody getBody() {
        return body;
    }

    public void setBody(SoapBody body) {
        this.body = body;
    }

}
